<?php
defined('APPLICATION_PATH')
    || define('APPLICATION_PATH',
              realpath(dirname(__FILE__) . '/application'));

defined('APPLICATION_ENV')
    || define('APPLICATION_ENV',
              (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV')
                                         : 'developer'));

$arrPath = array(
    			dirname(__FILE__) . '/library',    		
    			get_include_path());
                                         
set_include_path(implode(PATH_SEPARATOR, $arrPath));


//Duong dan URL den thu muc public
define('PUBLIC_URL','/public');

//Duong dan den thu muc /public
define('PUBLIC_PATH', realpath(dirname(__FILE__) . '/public'));
//Duong dan den thu muc chua template
define('TEMPLATE_PATH',PUBLIC_PATH . "/templates");
// Duong dan url den thu muc chua templates
define('TEMPLATE_URL', PUBLIC_URL.'/templates');


